Optimal. Leaf size=152 \[ 14 c d^{9/2} \left (b^2-4 a c\right )^{3/4} \tan ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )-14 c d^{9/2} \left (b^2-4 a c\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )-\frac {d (b d+2 c d x)^{7/2}}{a+b x+c x^2}+\frac {28}{3} c d^3 (b d+2 c d x)^{3/2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 152, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.269, Rules used = {686, 692, 694, 329, 298, 203, 206} \[ 14 c d^{9/2} \left (b^2-4 a c\right )^{3/4} \tan ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )-14 c d^{9/2} \left (b^2-4 a c\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )-\frac {d (b d+2 c d x)^{7/2}}{a+b x+c x^2}+\frac {28}{3} c d^3 (b d+2 c d x)^{3/2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 206
Rule 298
Rule 329
Rule 686
Rule 692
Rule 694
Rubi steps
\begin {align*} \int \frac {(b d+2 c d x)^{9/2}}{\left (a+b x+c x^2\right )^2} \, dx &=-\frac {d (b d+2 c d x)^{7/2}}{a+b x+c x^2}+\left (7 c d^2\right ) \int \frac {(b d+2 c d x)^{5/2}}{a+b x+c x^2} \, dx\\ &=\frac {28}{3} c d^3 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{7/2}}{a+b x+c x^2}+\left (7 c \left (b^2-4 a c\right ) d^4\right ) \int \frac {\sqrt {b d+2 c d x}}{a+b x+c x^2} \, dx\\ &=\frac {28}{3} c d^3 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{7/2}}{a+b x+c x^2}+\frac {1}{2} \left (7 \left (b^2-4 a c\right ) d^3\right ) \operatorname {Subst}\left (\int \frac {\sqrt {x}}{a-\frac {b^2}{4 c}+\frac {x^2}{4 c d^2}} \, dx,x,b d+2 c d x\right )\\ &=\frac {28}{3} c d^3 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{7/2}}{a+b x+c x^2}+\left (7 \left (b^2-4 a c\right ) d^3\right ) \operatorname {Subst}\left (\int \frac {x^2}{a-\frac {b^2}{4 c}+\frac {x^4}{4 c d^2}} \, dx,x,\sqrt {d (b+2 c x)}\right )\\ &=\frac {28}{3} c d^3 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{7/2}}{a+b x+c x^2}-\left (14 c \left (b^2-4 a c\right ) d^5\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d-x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )+\left (14 c \left (b^2-4 a c\right ) d^5\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d+x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )\\ &=\frac {28}{3} c d^3 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{7/2}}{a+b x+c x^2}+14 c \left (b^2-4 a c\right )^{3/4} d^{9/2} \tan ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )-14 c \left (b^2-4 a c\right )^{3/4} d^{9/2} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.09, size = 92, normalized size = 0.61 \[ -\frac {8 d^3 (d (b+2 c x))^{3/2} \left (14 c (a+x (b+c x)) \, _2F_1\left (\frac {3}{4},2;\frac {7}{4};\frac {(b+2 c x)^2}{b^2-4 a c}\right )-2 c \left (7 a+c x^2\right )+3 b^2-2 b c x\right )}{3 (a+x (b+c x))} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.94, size = 782, normalized size = 5.14 \[ \frac {84 \, \left ({\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}\right )^{\frac {1}{4}} {\left (c x^{2} + b x + a\right )} \arctan \left (\frac {\left ({\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}\right )^{\frac {1}{4}} {\left (b^{4} c^{3} - 8 \, a b^{2} c^{4} + 16 \, a^{2} c^{5}\right )} \sqrt {2 \, c d x + b d} d^{13} - \sqrt {2 \, {\left (b^{8} c^{7} - 16 \, a b^{6} c^{8} + 96 \, a^{2} b^{4} c^{9} - 256 \, a^{3} b^{2} c^{10} + 256 \, a^{4} c^{11}\right )} d^{27} x + {\left (b^{9} c^{6} - 16 \, a b^{7} c^{7} + 96 \, a^{2} b^{5} c^{8} - 256 \, a^{3} b^{3} c^{9} + 256 \, a^{4} b c^{10}\right )} d^{27} + \sqrt {{\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}} {\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}} \left ({\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}\right )^{\frac {1}{4}}}{{\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}}\right ) - 21 \, \left ({\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}\right )^{\frac {1}{4}} {\left (c x^{2} + b x + a\right )} \log \left (343 \, {\left (b^{4} c^{3} - 8 \, a b^{2} c^{4} + 16 \, a^{2} c^{5}\right )} \sqrt {2 \, c d x + b d} d^{13} + 343 \, \left ({\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}\right )^{\frac {3}{4}}\right ) + 21 \, \left ({\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}\right )^{\frac {1}{4}} {\left (c x^{2} + b x + a\right )} \log \left (343 \, {\left (b^{4} c^{3} - 8 \, a b^{2} c^{4} + 16 \, a^{2} c^{5}\right )} \sqrt {2 \, c d x + b d} d^{13} - 343 \, \left ({\left (b^{6} c^{4} - 12 \, a b^{4} c^{5} + 48 \, a^{2} b^{2} c^{6} - 64 \, a^{3} c^{7}\right )} d^{18}\right )^{\frac {3}{4}}\right ) + {\left (32 \, c^{3} d^{4} x^{3} + 48 \, b c^{2} d^{4} x^{2} + 2 \, {\left (5 \, b^{2} c + 28 \, a c^{2}\right )} d^{4} x - {\left (3 \, b^{3} - 28 \, a b c\right )} d^{4}\right )} \sqrt {2 \, c d x + b d}}{3 \, {\left (c x^{2} + b x + a\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.28, size = 441, normalized size = 2.90 \[ -7 \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c d^{3} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} + 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right ) - 7 \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c d^{3} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} - 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right ) + \frac {7}{2} \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c d^{3} \log \left (2 \, c d x + b d + \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right ) - \frac {7}{2} \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c d^{3} \log \left (2 \, c d x + b d - \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right ) + \frac {16}{3} \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} c d^{3} + \frac {4 \, {\left ({\left (2 \, c d x + b d\right )}^{\frac {3}{2}} b^{2} c d^{5} - 4 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} a c^{2} d^{5}\right )}}{b^{2} d^{2} - 4 \, a c d^{2} - {\left (2 \, c d x + b d\right )}^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 693, normalized size = 4.56 \[ \frac {28 \sqrt {2}\, a \,c^{2} d^{5} \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}-\frac {28 \sqrt {2}\, a \,c^{2} d^{5} \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}-\frac {14 \sqrt {2}\, a \,c^{2} d^{5} \ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}-\frac {7 \sqrt {2}\, b^{2} c \,d^{5} \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+\frac {7 \sqrt {2}\, b^{2} c \,d^{5} \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+\frac {7 \sqrt {2}\, b^{2} c \,d^{5} \ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )}{2 \left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+\frac {16 \left (2 c d x +b d \right )^{\frac {3}{2}} a \,c^{2} d^{5}}{4 c^{2} d^{2} x^{2}+4 b c \,d^{2} x +4 a c \,d^{2}}-\frac {4 \left (2 c d x +b d \right )^{\frac {3}{2}} b^{2} c \,d^{5}}{4 c^{2} d^{2} x^{2}+4 b c \,d^{2} x +4 a c \,d^{2}}+\frac {16 \left (2 c d x +b d \right )^{\frac {3}{2}} c \,d^{3}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.16, size = 165, normalized size = 1.09 \[ \frac {16\,c\,d^3\,{\left (b\,d+2\,c\,d\,x\right )}^{3/2}}{3}+\frac {{\left (b\,d+2\,c\,d\,x\right )}^{3/2}\,\left (16\,a\,c^2\,d^5-4\,b^2\,c\,d^5\right )}{{\left (b\,d+2\,c\,d\,x\right )}^2-b^2\,d^2+4\,a\,c\,d^2}+14\,c\,d^{9/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,d+2\,c\,d\,x}}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{1/4}}\right )\,{\left (b^2-4\,a\,c\right )}^{3/4}+c\,d^{9/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,d+2\,c\,d\,x}\,1{}\mathrm {i}}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{1/4}}\right )\,{\left (b^2-4\,a\,c\right )}^{3/4}\,14{}\mathrm {i} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________